import config from "@/utils/config.js"

//通过wxcode获取授权手机号
const getPhoneByWxCode = async (code) => {
	let url = config.baseUrl + "wx/user/phone";
	let param = {
		code: code
	}
	let res = await config.getData(url, param);
	return res;
}


export default {
	getPhoneByWxCode
}